package com.cloudkinto.service.platform.vo.rakuten;

import com.cloudkinto.entity.PlatformProductDo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PlatformProductSyncReq {
    private List<PlatformProductDo> productDoList;
    private String platformCode;

    private boolean delete;
    private Long storeId;
    private Long companyId;

    public PlatformProductSyncReq(List<PlatformProductDo> productDoList, String platformCode, Long storeId, Long companyId) {
        this.productDoList = productDoList;
        this.platformCode = platformCode;
        this.delete = false;
        this.storeId = storeId;
        this.companyId = companyId;
    }
}
